package cn.lanqiao.mapper;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import cn.lanqiao.entity.Fill_question;

/**
 * 填空题
 * @author yejun
 */

@Repository
public interface Fill_questionMapper {

	//展示所有数据
	public List<Fill_question> listAllFill();
	//分页
	public List<Fill_question> FillPages( Map<String,Object> map );
	//获取总记录数
	public int count( String  searchkey );
	//详情查看
	public List<Fill_question> getFill(Integer paperId);
	//删除
	public int delete(Integer paperId);
	//修改
	public int update(Fill_question fill);
	//添加
	public int insert(Fill_question fill);
	
	//根据ID删除
	public int deleteID(Integer questionId);
}
